﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BolaoDNA.DomainModel;
using FluentNHibernate.Automapping.Alterations;

namespace BolaoDNA.Repositories.NHibernate.Overrides
{
    public class JogoOverride : IAutoMappingOverride<Jogo>
    {
        public void Override(FluentNHibernate.Automapping.AutoMapping<Jogo> mapping)
        {
            mapping.Map(x => x.PlacarCasa).Nullable();
            mapping.Map(x => x.PlacarVisitante).Nullable();
        }
    }
}
